package com.cai.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cai.demo.entity.User;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Title: UserService
 * @Author RuoLi
 * @Package com.cai.demo.service
 * @Date 2023/12/14 20:56
 * @description: 用户业务
 */
public interface UserService extends IService<User> {
    /**
     * 获取用户权限
     * @param username 用户账号
     * @return String
     */
    Set<Integer> getPermission(String username);
}
